import account from '~/api/account'
import talk from '~/api/talk'
import room from '~/api/room'
import student from '~/api/student'
import warning from '~/api/warning'

export default (context, inject) => {
    let repositories = {
        account: account(context.$axios),
        talk: talk(context.$axios),
        room: room(context.$axios),
        student: student(context.$axios),
        warning: warning(context.$axios)
    }

    inject('api', repositories)
}